/*
 * @Author: liu.lin liu.lin@hzleaper.com
 * @Date: 2023-11-08 11:05:26
 * @LastEditors: liu.lin liu.lin@hzleaper.com
 * @LastEditTime: 2023-11-21 14:40:42
 * @FilePath: \aoi_link_frontend\src\api\config\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { request } from '@/utils/axios/request';

// 配置信息
export function getGlobalConfig() {
  return request({
    url: '/config',
    method: 'get'
  });
}

//直通率和线别良率配置信息
export function getFpyConfig() {
  return request({
    url: '/config/yield',
    method: 'get'
  });
}
